package model;

import java.util.Date;

public class User {
	// 所属组ID
	private Group group;
	// 头像
	private HeadImg headImg;
	// 用户ID
	private int id;
	// 积分
	private int jiFen;
	// 加入时间
	private Date joinTime;
	// 登录次数
	private int logintime;
	// 专业
	private String major;
	// 用户名
	private String name;
	// 密码
	private String password;
	// 手机号码
	private String phone;
	// 职务
	private int post;
	// qq号码
	private String qq;
	//性别
	private String sex;
	// 状态
	private int state;

	public int getId() {
		return id;
	}

	public int getJiFen() {
		return jiFen;
	}

	public Date getJoinTime() {
		return joinTime;
	}

	public int getLogintime() {
		return logintime;
	}

	public String getMajor() {
		return major;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public String getPhone() {
		return phone;
	}

	public int getPost() {
		return post;
	}

	public String getQq() {
		return qq;
	}

	public int getState() {
		return state;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setJiFen(int jiFen) {
		this.jiFen = jiFen;
	}

	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}

	public void setLogintime(int logintime) {
		this.logintime = logintime;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setPost(int post) {
		this.post = post;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public void setState(int state) {
		this.state = state;
	}

	public HeadImg getHeadImg() {
		return headImg;
	}

	public void setHeadImg(HeadImg headImg) {
		this.headImg = headImg;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

}
